package com.leyou.search.dto;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Map;
import java.util.Set;

/**
 * 一个SPU对应一个Goods
 */
@Data
public class GoodsDTO {

    /**spuId*/
    @Id
    private Long id;
    /** 卖点*/
    private String subTitle;
    /** sku信息的json结构*/
    private String skus;

}